
package com.hlkj.pay.vo.order.req;

import java.io.Serializable;

import javax.validation.constraints.NotEmpty;

import com.hlkj.framework.common.valid.ValidAmount;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 订单通知表
 * 
 * @TableName t_order_notify
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderTransferPreReq implements Serializable {

    private static final long serialVersionUID = 7439870630138930478L;


    @Schema(description = "付款方通道编码")
    @NotEmpty(message = "付款方通道编码 不能为空")
    private String outMchChannelCode;
    @Schema(description = "接收方通道编码")
    @NotEmpty(message = "接收方通道编码 不能为空")
    private String inMchChannelCode;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "金额 单位元")
    @NotEmpty(message = "金额 不能为空")
    @ValidAmount(message = "金额 无效")
    private String amount;

    @Schema(description = "0:收款方付款;1:付款方付费")
    private Integer feePayer;

}
